#!/bin/bash

set -x
#此脚本执行环境是在启动的容器中执行的

source /opt/dtk/env.sh
source /opt/dtk/cuda/env.sh

git clone -b dtk-25.04.2 --depth 1 http://root:glpat-tWyMPqC9_3PVzz9kcoBB@10.15.3.7/dcutoolkit/driverruntime/cudamocker.git


cd cudamocker/test
python3 ./cupti_test.py >> result_cupti_test.log # 查看结果，成功则输出ALL passed!
